package com.shichenjia.fileupload.service;

import com.shichenjia.fileupload.entrity.FileUpload;

import org.springframework.core.io.Resource;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

public interface FileUploadService {
    FileUpload uploadFile(MultipartFile file);
    ResponseEntity<Resource> getFile(String fileId);
}
